<template>
  <nav>
    <div class="nleft">
            <h2>
                <b>互联网</b>模板
            </h2>
    </div>
    <div class="nright">
    <ul>
        <li>
            <router-link to="#" exact>首页</router-link>
            <router-link to="/" exact>服务项目</router-link>
            <router-link to="#" exact>解决案例</router-link>
            <router-link to="/news" exact>新闻资讯</router-link>
            <router-link to="/con" exact>关于我们</router-link>
        </li>
    </ul>
    </div>
  </nav>
</template>

<script>
export default {
    name:"HeaDer"
}
</script>

<style>
ul{
    list-style-type: none;
}
.nleft{
    float: left;
    margin-top: 45px;
    margin-left: 30px;
}
.nleft h2{
    color: rgba(214, 214, 214, 0.991);
    
}
.nleft h2 b{
    color: rgb(255, 119, 0);
}
.nright{
    float: right;
    margin-top: 40px;
    margin-right: 25px;
}
.nright ul li{
    float: left;
    color: #fff;
    font-size: 16px;
    /* border: 1px solid black; */
    padding:0 40px;
}
a{
    color:#fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 5px;
    margin: 10px;
}
nav{
    margin-bottom: 10px;
    width: 100%;
    height: 240px;
    /* border: 1px solid black; */
    background-image: url(../image/picture.jpg);
    background-repeat:no-repeat;
    background-size:100% 100%;
}
.router-link-active{
    color: rgb(255, 119, 0);
}
</style>